home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 75 / XENIATGM75.iso / Shareware / X-Setup 5.0 / _SETUP.1 / XQ IE Zone Names.xpl < prev    next >
Text File  |  1999-07-16  |  1KB  |  44 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="1"
  3. "COUNT"="4"
  4. "UIPATH"="Internet\Internet Explorer\Appearance\Zones"
  5. "NAME"="Zone Names"
  6. "LANGUAGE"="VBScript"
  7. "VERSION"="1.31"
  8. "TEXT 1"="Zone #1 Name"
  9. "TEXT 2"="Zone #2 Name"
  10. "TEXT 3"="Zone #3 Name"
  11. "TEXT 4"="Zone #4 Name"
  12. "DESCRIPTION 1"="IE 4.0 and above divide the internet into different Zones. You can change the names for this zones here."
  13. "DESCRIPTION 2"="To view these items, start Internet Explorer, select "Options" from the "View" menu and click on the "Security" tab."
  14. "AUTHOR"="Xteq Systems"
  15. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  16. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  17.  
  18.  
  19. sPath="HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\"
  20. sValue="\DisplayName"
  21. Sub Plugin_Initialize 
  22.  if RegPathExists(sPath) then
  23.   for l=1 to 4 
  24.    s=RegReadValue(sPath & l & sValue)
  25.    Call SetUIElement(l,s)
  26.   next
  27.  else
  28.   Disable
  29.  end if
  30. End Sub
  31.  
  32. Sub Plugin_CheckData(ElementIndex)
  33. End Sub
  34.  
  35. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  36.  for l=1 to 4
  37.   s=GetUIElement(l)
  38.   Call RegWriteValue(sPath & l & sValue,s,1)
  39.  next
  40. End Sub
  41.  
  42. Sub Plugin_Terminate 
  43. End Sub
  44.